SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af4fd79471da2d76e8b3a482e557c071674d4dbec7961c3fa67e3a721eea4513' 
  AND token = 'D1N2XKnsnn5QyV9QFIq55pNMNZytiRUN+SAkNS4m5ZA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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