SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af13bdef5f8358b83749a83844853db9e3304a8f444426ba1803e47e57418a6e' 
  AND token = 'W4ENjb5EA6ciQeWo9yTjquh0etQSZTO1xMLd5oRhBQ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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