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

Query time 0.00013

JSON explain

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