SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40fc8dc1a31988e65a7c755227cca2912fa77fecea75a88117a65d9f1c3b9bea' 
  AND token = 'k46Ci4hlxKsxE8lK7EERc8LnaLBLJMFIkMjIUB5tywc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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