SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '86197294a1287d1022b267e1768659fba58f84d552f3731a0b803b9114ecf598' 
  AND token = 'RGIdAeOu0BDwVhMSZSvTr1bV3ximRmZjEhYIA6eL4Yc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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