SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f3ed116d8b8c2817b8d2b2fb0382cb90ecbbd95562d9d9967bdf3b17929c16ea' 
  AND token = 'SOu8YoeIqhfezf7PS2Y80dZTRLA7aYMR6nOXj1DURnc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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