SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21ee485cf01dc75a7717587b4233f7a9aa1685d6269733b1bbc2dd80b8990894' 
  AND token = 'Tog/6hiiv4b/Tm6HN+vx3aEwxxWKLfXkSsO6V/Ee2mo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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