SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7fcba893a924ceb20beb62e2fa3b1e2b32c0f9bc481427f4ddf0a52163419782' 
  AND token = 'b8R1uEReb3U6xGlD09YOZML9K1dOGnf1GHyXpc9lJsU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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