SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '894c788f74790e20389607e57e7ee5de230c6c9584fad2da99fb9080b1b52a4d' 
  AND token = '3WAs82foiT/fVzqIkK5iKw/CeyR3FNtEpF/2lmGRtaE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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