SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd04f47c99ba9d72ef3ec1d0d7c93216ade38d22755e3fac77ac435eb63b58259' 
  AND token = 'lgICG+xPyhO0vMz8ksZm5WOnHUdPPiI3rbaq5cPPGg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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