SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '171fda1d90f7bdfa8b8b3dac3866d91dfad72947e172f9af107d801892e64085' 
  AND token = 'NIBeFBoDUllzYSTwT9LPGzUVWfNd7Cd+Po55dseTG9I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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