SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff29f624a95219730f0b0e70a3233987e731be37478f053d58d089da1287fa11' 
  AND token = 'wrezcSq+o6WjlIeSHm5n4bwdIrTUFcebXBf0oNHiawA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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