SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '034bf346dade4a15b861d0d050bd52c8ff294a5c907074c74fc498022c5d286d' 
  AND token = 'KYglOzBgoxRkMMOQhvpauojyD2TCrgOiSx1DWbYaOGc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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