SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '166308b9957d48a86768c8f235bb25a9b9808fa152e72b6b0e399d344d8870a2' 
  AND token = 'atXUHkESRCqC6m3it3mH3uxLmwB+z5V5ZmIiyviGSC0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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