SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef106fd835828a0971c2a56aa5612050f831a168c5c536b48913d78c5030cf81' 
  AND token = 'ZKQAAIk6vHG4sqfd/OlWET1Srmsf32E4Ratg6S7buA0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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