SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '040ab97df18f4ae364e6c66f881ca705526c5565b71fcf117a1e8077ab67faf9' 
  AND token = '6BaAjqfM1L6qGFe2tTyk3qtT5v5k7w1fnYpoURJ1ao8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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