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

Query time 0.00033

JSON explain

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