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

Query time 0.00035

JSON explain

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