SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40a650b4e7c0d424fdbca753750ece090368b903595dc98d40da6a9d91af7b9e' 
  AND token = 'evay5RZEwrFiwGmjE+v+LEc7BQVEs7eJtdeGUea1aOY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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