SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f385283af0c94eb3b2fa5dcbdef927dc2cca4cb97aa053c97165bdff617af1ed' 
  AND token = 'TPuKAOdcbLB9YInXZ/prgUeBthNSjhQ3DOOTEP2u648=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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