SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0491da1fd7da17d74e5b5ad8d2f59e52faba88f2ee23500bedbb6925c813c217' 
  AND token = 'Tvze6GqtWXuq/VV8Yi6IhxNuUO6rBqfTasrPCLG/SOM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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