SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c78dba1d5b31445481a5ef4d980070a5f83c39e398ad2a4d1013d88a5f5a9eb' 
  AND token = 'oYZE2He3mm/w1lUXHzTxBeFoK/f5eLHbbGUYyLyDfwg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}